package com.sanjiahantang.ythshopping.views;

import android.content.Context;

import com.sanjiahantang.ythshopping.model.AreaBean;
import com.sanjiahantang.ythshopping.model.AreaModel;

import java.util.List;

/**
 * Created by sks on 2015/10/9.
 */
public interface SelectAreaView {
    int LOCATING    = 111;
    int FAILED      = 666;
    int SUCCESS     = 888;

    void getArea(AreaModel model);

    interface CallBack{
        void onSuccess(AreaBean bean);
        void onFailure(String message);
    }

    interface CheckPermissionsListener {
        void onGranted();
        void onDenied(List<String> permissions);
    }
}
